/*
 * @ClassName global_context.dart
 * @Description 获取全局的context
 * @Author SuPeiSen
 * @Date 2020/7/15 10:52
 */

import 'package:flutter/material.dart';
import 'package:flutter_su/common/fun.dart';

class GlobalContext{
  static BuildContext appContext;

  static void setAppContext(BuildContext context){
    SFunCommon.debugPrint("setAppContext");
    if(appContext == null){
      SFunCommon.debugPrint("appContext == null");
      appContext = context;
    }
  }
}